package com.itheima.genericit;

public class GenericDemo2 {

    public static void main(String[] args) {
        StudentData studentData = new StudentData();
        studentData.add(new Student("张三", 18, 100, 1));
        studentData.add(new Student("李四", 19, 90, 2));
        System.out.println(studentData.get(1));
    }
}
